package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.String;

/**
 * 专业领域字典表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "specialty",dataSource = "caseDS")
public class SpecialtyEntity {

    /**
     * 领域代码
     */
    @Id(keyType = KeyType.Auto)
    private String code;

    /**
     * 领域名称
     */
    @Column(value = "name")
    private String name;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
